//
//  GDCycleViewController.m
//  Gunterapple
//
//  Created by 热带雨林 on 2020/4/3.
//  Copyright © 2020 热带雨林. All rights reserved.
//

#import "GDCycleViewController.h"
#import "GDLoopView.h"
@interface GDCycleViewController ()
@property (nonatomic, strong)GDLoopView *loopView;
@end

@implementation GDCycleViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"无限轮播";

    
    NSArray *imagaArray = @[@"Home_Scroll_01",@"Home_Scroll_02",@"Home_Scroll_03",@"Home_Scroll_04",@"Home_Scroll_05"];
    self.view.backgroundColor = [UIColor whiteColor];
    //第一种轮播图
    GDLoopView *loopView = [[GDLoopView alloc]initWithImageArray:imagaArray];
//    GDLoopView *loopView = [[GDLoopView alloc]initWithFrame:CGRectMake(0, SJHeight, GDScreenW, 120)];
//    loopView.imageArray = imagaArray;
//    JFLoopView *loopView = [[JFLoopView alloc]initWithImageArray:imagaArray];
    loopView.frame = CGRectMake(0, SJHeight, GDScreenW, 120);
    [self.view addSubview:loopView];
    
    //第二种轮播图
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
